package p.ithorns.tools.translator.apt.creator;

import com.sun.tools.javac.tree.TreeMaker;
import com.sun.tools.javac.util.Names;
import p.ithorns.tools.translator.annotation.meta.DictMeta;
import p.ithorns.tools.translator.apt.BaseProcessor;

/**
 * BaseMethodCreator
 *
 * @author HtL
 * @date 2025/4/3 15:06
 * @since 1.0.0
 */
public abstract class BaseCreator {

    protected String META_NAME = DictMeta.class.getName();

    protected final TreeMaker treeMaker;

    protected final Names names;

    protected final BaseProcessor processor;

    public BaseCreator(BaseProcessor processor) {
        this.processor = processor;
        this.treeMaker = processor.getMaker();
        this.names = processor.getNames();
    }

}